package com.training.entities;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigInteger;

/**
 * The persistent class for the timesheet database table.
 * 
 */
@Entity
@Table(name = "timesheet")
public class Timesheet implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name = "time_sheet_id")
	private String timeSheetId;

	@Column(name = "manager_id")
	private BigInteger managerId;

	private String timesheetcol;

	@Column(name = "TOTAL_HOURS")
	private float totalHours;

	// bi-directional many-to-one association to Employee
	@ManyToOne
	@JoinColumn(name = "employee_id")
	private Employee employee;

	public Timesheet() {
	}

	public String getTimeSheetId() {
		return this.timeSheetId;
	}

	public void setTimeSheetId(String timeSheetId) {
		this.timeSheetId = timeSheetId;
	}

	public BigInteger getManagerId() {
		return this.managerId;
	}

	public void setManagerId(BigInteger managerId) {
		this.managerId = managerId;
	}

	public String getTimesheetcol() {
		return this.timesheetcol;
	}

	public void setTimesheetcol(String timesheetcol) {
		this.timesheetcol = timesheetcol;
	}

	public float getTotalHours() {
		return this.totalHours;
	}

	public void setTotalHours(float totalHours) {
		this.totalHours = totalHours;
	}

	public Employee getEmployee() {
		return this.employee;
	}

	public void setEmployee(Employee employee) {
		this.employee = employee;
	}

}